<?php

class Default_Form_Forget extends Zend_Form
{

    public function init()
    {
        $email = new Zend_Form_Element_Text('email');
        $email->setRequired(true)
              ->addErrorMessage('Không được bỏ trống')
              ->setLabel('Email: ')
              ->addFilters(array(
                      'StringTrim',
                      'StripTags',
              ))
              ->addValidator('EmailAddress', true)
              ->removeDecorator("HtmlTag");
        
        $send = new Zend_Form_Element_Submit("send_info");
        $send->setLabel("Gửi yêu cầu")
             ->removeDecorator("DtDdWrapper");
        $this->addElements(array($email, $send));
    }


}

